package com.jinzhi.jzweb.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 *
 * <pre>
 * 赛道抽签表（可以对选手固定赛道）
 * </pre>
 * <small> 2023-10-24 18:52:05 | lance</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("track_draw_regular")
//这是的这里继承的基础服务类，有几个基本字段
public class TrackDrawRegularDO implements Serializable {
	@TableId
	private Long id;

    /** 学校名称 */
    @TableField("unit_name")
    @Excel(name = "学校名称" ,width = 20)
    private String unitName;

    /** 姓名 */
    @TableField("name")
    @Excel(name = "姓名" ,width = 20)
    private String name;

    /** 抽签赛道 */
    @TableField("track_draw")
    @Excel(name = "赛道" ,width = 20)
    private String trackDraw;

    /** 指导老师 */
    @TableField("teacher")
    private String teacher;

    /** 性别 */
    @TableField("sex")
    private String sex;

    /** 创建时间 */
    @TableField("create_time")
    private Date createTime;

    @TableField(exist = false)
    private boolean hasDraw;

    /** 排序 */
    @TableField(value = "sort")
    private Integer sort;

    @TableField(exist = false)
    private List<TrackDrawRegularDO> trackDrawDOList;

}
